configuration MainMotorsC {
	provides interface MainMotorControl;
	provides interface MainMotorDebug;
}

implementation {
	components MainMotorsP;
	MainMotorControl = MainMotorsP;
	MainMotorDebug = MainMotorsP;
	
	components new TimerMilliC() as MotorTimerC;
	components new TimerMilliC() as ControllerTimerC;
	MainMotorsP.Timer -> MotorTimerC;
	MainMotorsP.ControllerTimer -> ControllerTimerC;
	
	components MikrobiPinConfigC;
	MainMotorsP.LeftMotorControl -> MikrobiPinConfigC.LeftMotorControl;
	MainMotorsP.RightMotorControl -> MikrobiPinConfigC.RightMotorControl;
	
	MainMotorsP.LeftMotorInt -> MikrobiPinConfigC.LeftMotorInt;
	MainMotorsP.RightMotorInt -> MikrobiPinConfigC.RightMotorInt;
	
	components LedsC;
	MainMotorsP.Leds -> LedsC;
	
	components MainC;
	MainC.SoftwareInit -> MainMotorsP;
}
